﻿<UserControl x:Class="simple_bounce.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="364" Width="640">
    <Canvas x:Name="LayoutRoot" Background="White" Height="365" Width="637">
        <Canvas.Resources>

            <Storyboard x:Name="bounce">
                <DoubleAnimation From="0" To="200" Duration="0:0:3"
                                 Storyboard.TargetName="stackPanel1"
                                 Storyboard.TargetProperty="(Canvas.Top)">
                    <DoubleAnimation.EasingFunction>
                        <BounceEase EasingMode="EaseOut" Bounces="10" Bounciness="2"></BounceEase>
                    </DoubleAnimation.EasingFunction>
                </DoubleAnimation>

            </Storyboard>
        </Canvas.Resources>
        <StackPanel Canvas.Left="455" Canvas.Top="105" Height="192" Name="stackPanel1" Width="176">

            <Image Height="80" Name="image1" Stretch="Fill" Width="152" Source="/simple_bounce;component/Logo1.jpg">


            </Image>
        </StackPanel>
        <controls:TabControl Canvas.Left="16" Canvas.Top="68" Height="284" Name="tabControl1" Width="419">
            <controls:TabItem Header="Tab 1" Name="tabItem1" MouseLeftButtonUp="tabItem1_MouseLeftButtonUp">
                <TextBlock Height="23" Name="textBlock1" Text="Text for Tab 1..." />
            </controls:TabItem>
            <controls:TabItem Header="Tab 2" Name="tabItem2" MouseLeftButtonUp="tabItem1_MouseLeftButtonUp">
                <TextBlock Height="23" Name="textBlock2" Text="Text for Tab 2..." />
            </controls:TabItem>
            <controls:TabItem Header="Tab 3" Name="tabItem3" MouseLeftButtonUp="tabItem1_MouseLeftButtonUp">
                <TextBlock Height="23" Name="textBlock3" Text="Text for Tab 3..." />
            </controls:TabItem>
        </controls:TabControl>

    </Canvas>
</UserControl>
